home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 726 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: news.msfc.nasa.gov!pendragon!sailsun!john
  2. From: john@sailsun (John C. Bielick)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Bitbanging the parallel port
  5. Date: 9 Jan 1996 01:31:40 GMT
  6. Organization: NASA Johnson Space Center, Houston, TX, USA
  7. Distribution: world
  8. Message-ID: <4csght$qnm@pendragon.jsc.nasa.gov>
  9. References: <4cpbla$1kgm@usenetw1.news.prodigy.com>
  10. NNTP-Posting-Host: sailsun.jsc.nasa.gov
  11. X-Newsreader: TIN [version 1.2 PL2]
  12.  
  13. Bernhard Stimmel (VWMS85A@prodigy.com) wrote:
  14. : I want to read and write a serial EEPROM (24C16) directly through
  15. : the PC-parallel port. Since I have no experience in directly
  16. : accessing pins of the parallel port through C, I would
  17. : appreciate any help with little C-routines for reading and
  18. : writing a specific pin of the parallel port. The rest I 
  19. : can probably handle myself. However if anybody has a complete
  20. : solution it would be wonderful.
  21. :                                         Bernie
  22.  
  23.  
  24. I hope I'm not misunderstanding your question, but I believe
  25. you can write/read to/from the PC parallel port by using the
  26. 'outp' and 'inp' function calls.
  27.  
  28. John B.
  29.